from django.db import models


class Hor(models.Model):
    code = models.CharField(max_length=20)
    title = models.CharField(max_length=20)
    numer = models.CharField(max_length=20)
    def __unicode__(self):
        return self.title
    class Meta:
        ordering = ["numer"]

class Ver(models.Model):
    code = models.CharField(max_length=20)
    title = models.CharField(max_length=20)
    numer = models.CharField(max_length=20)
    def __unicode__(self):
        return self.title
    class Meta:
        ordering = ["numer"]

# Create your models here.

